import service from "@/util/service.js"
function getlink(url){
   return new Promise((resolve,reject)=>{
    service.request({
        url,
        method:"GET"
    }).then((ok)=>{
        resolve(ok)
    }).catch((err)=>{
        reject(err)
    })
   })

}
export default getlink